import Mock from 'mockjs';

let appData = require('./data.json');
let category = appData.category;
let quality = appData.quality;
let movie = appData.movie;
let shops = appData.shops;
let shop = appData.shop;
let goods = appData.goods;


Mock.setup({
  timeout: '200 - 400'
});
Mock.mock('/category', 'get', category);
Mock.mock('/quality', 'get', quality);
Mock.mock('/movie', 'get', movie);
Mock.mock('/shops', 'get', shops);
Mock.mock('/shop', 'get', shop);
Mock.mock('/goods', 'get', goods);
